/**
 * 
 */
package com.geekteam.manga.ui.fragment;

import java.util.ArrayList;
import java.util.List;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.geekteam.manga.R;
import com.geekteam.manga.wiget.ItemListManga;

/**
 * @author MtRol
 *
 */
public class MangaHotFragment extends BaseListFragment{

	private ArrayList<ItemListManga> listManga;
	//OnURLSelectedListener mListener;
	
	 @Override
	 public void onCreate(Bundle savedInstanceState) {
	  super.onCreate(savedInstanceState);
	  Log.v("ListFragment", "onCreate()");
	 }
	 
	 @Override
	 public void onActivityCreated(Bundle savedInstanceState) {
	  super.onActivityCreated(savedInstanceState);
	  Log.v("ListFragment", "onActivityCreated().");
	  Log.v("ListsavedInstanceState", savedInstanceState == null ? "true" : "false");

	  String[] values = new String[] { "Enterprise", "Star Trek", "Next Generation", "Deep Space 9", "Voyager"};
	  ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, values);
	  setListAdapter(adapter);
	 }
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return inflater.inflate(R.layout.fragment_hot_manga, container, false);
	}
	
	
}
